package net.yla.smartbus.core.api;

/**
 * 基本状态码封装
 *
 * @author Handy Wong
 * @date 2018/5/24
 */
public class RequestCode {
    public static final int success = 200;
    public static final int success_created = 201;
    public static final int success_async = 202;
    public static final int syntax_error = 400;
    public static final int unauthorized_error = 401;
    public static final int forbid_error = 403;
    public static final int resNotFind_error = 404;
    public static final int resIsDelete_error = 410;
    public static final int noContentLength_error = 411;
    public static final int missingParameter_error = 412;
    public static final int content_forbid_error = 415;
    public static final int range_error = 416;
    public static final int semantic_error = 422;
    public static final int locked_error = 423;
    public static final int server_error = 500;
    public static final int server_unrealized_error = 501;
    public static final int none = 0;
    public static final int Not_Acceptable = 406;
    public static final int Unsupported_Media_Type = 415;
    public static final int Method_Not_Allowed = 405;

    public static final int Form_Validate_Error = 705;
    public static final int User_No_Current_Identity = 702;

    //短信发送成功
    public static final int SEND_SMS_SUCCESS = 10001;
    //短信发送失败
    public static final int SEND_SMS_FAILURE = 10002;
    //手机号码为空
    public static final int PHONE_NULL = 10003;
    //验证码为空
    public static final int CODE_NULL = 10004;
    //验证码错误
    public static final int CODE_ERROR = 10005;
    //验证成功
    public static final int CODE_RIGHT = 10006;
    /**
     * 操作提示 600
     */
    public static final int Operate_Tip = 600;
    /**
     * 用户未登陆，token失效
     */
    public static final int Not_Login = 700;

    public RequestCode() {
    }

}
